﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Edit.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_FriendLink.Edit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>管理员管理</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>

<div class="frmstatic" style="display:block;">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>模块&nbsp;&gt;&nbsp;友情链接管理&nbsp;&gt;&nbsp;修改友情链接</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href="../FriendLinkClass/Admin.aspx" class="sub_menu">友情链接位置</a></label> | </td>
                        <td><label><a href="./Admin.aspx" class="sub_menu_selected">友情链接列表</a></label> | </td>
                        <td><label><a href="./Add.aspx" class="sub_menu">添加友情链接</a></label> | </td>
                        <td><label><a href="javascript:window.history.back();" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>


<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">
            
          <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
            
            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">链接地址:</td>
              <td width="1040" bgcolor="#F4FBFF"><asp:TextBox CssClass="input" ID="txtTargetUrl" 
                      runat="server" Width="266px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                      ErrorMessage="链接地址不能为空" ControlToValidate="txtTargetUrl"></asp:RequiredFieldValidator> 
               </td>
            </tr>
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">当前页面:</td>
              <td bgcolor="#F4FBFF">
                <asp:DropDownList ID="ddlMenu" runat="server" Width="200px" ></asp:DropDownList>
               </td>
            </tr>
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">链接描述:</td>
              <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtDescription" runat="server"  CssClass="input" TextMode="MultiLine" Width="466px" Height="52px"></asp:TextBox>
                    <br /><span style="color:#ffaa25; ">(可为空白)</span>
              </td>
            </tr>
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">链接内容:</td>
              <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtContent" runat="server" CssClass="input" TextMode="MultiLine" Width="466px" Height="89px"></asp:TextBox>
                    <br /><span style="color:#ffaa25; ">(可以为Html代码)</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                      ErrorMessage="当前内容不能为空" ControlToValidate="txtContent"></asp:RequiredFieldValidator> 
              </td>
            </tr>
            
            <tr>
              <td  align="right" nowrap bgcolor="#F4FBFF">排序数字:</td>
              <td  bgcolor="#F4FBFF">
                    <asp:TextBox CssClass="input" ID="txtOrder" runat="server" Width="86px" Text="0"></asp:TextBox>
                    <br /><span style="color:#ffaa25; ">(数字越低越往后排)</span>
               </td>
            </tr>

            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:HiddenField ID="hidReferrer" runat="server" />
                <asp:HiddenField ID="hidNO" runat="server" />      
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnModify" runat="server" Text=" 确定 " onclick="btnModify_Click" />
             </td>
            </tr>
          </table>

</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>

</body>
</html>
